package system.student.entity;

public class Course {
    private Long id;
    private Long TeacherId;
    private String TeacherName;
    private String courseName;
    private Long courseId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTeacherId() {
        return TeacherId;
    }

    public void setTeacherId(Long teacherId) {
        TeacherId = teacherId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public Long getCourseId() {
        return courseId;
    }
    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public Course(Long id, Long teacherId, String teacherName, String courseName, Long courseId) {
        this.id = id;
        this.TeacherId = teacherId;
        this.TeacherName = teacherName;
        this.courseName = courseName;
        this.courseId = courseId;
    }

    public Course() {
    }

    public String getTeacherName() {
        return TeacherName;
    }

    public void setTeacherName(String teacherName) {
        TeacherName = teacherName;
    }

    @Override
    public String toString() {
        return String.format("| %-15s | %-15s | %-10d |", TeacherName, courseName, id);
    }

}
